<div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span><img alt="image" class="img-circle" src="img/profile_small.jpg" /></span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">Beaut-zihan</strong></span>
                                <span class="text-muted text-xs block">超级管理员<b class="caret"></b></span>
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li><a class="J_menuItem" href="form_avatar.html">修改头像</a>
                                </li>
                                <li><a class="J_menuItem" href="profile.html">个人资料</a>
                                </li>
                                <li><a class="J_menuItem" href="contacts.html">联系我们</a>
                                </li>
                                <li><a class="J_menuItem" href="mailbox.html">信箱</a>
                                </li>
                                <li class="divider"></li>
                                <li><a href="login.html">安全退出</a>
                                </li>
                            </ul>
                        </div>
                        <div class="logo-element">H+
                        </div>
                    </li>
                    
                </ul>
                
                <script>
						myloadMenu(null);
						function myloadMenu(data){
							//加载菜单
							$.ajax({
									type:"post",
									url:"/baseProject/project/menu/getmenus.action",
									async:true,
									dataType:"json",
									success:function(data){
										var menu="";
										for (var i=0;i<data.length;i++){
											menu='<li>'+
						                       	  '<a href="#"><i class="fa fa-cutlery"></i> <span class="nav-label">'+data[i].text+'</span><span class="fa arrow"></span></a>';
						                    var children=data[i].children;
						                    if(children.length>0){
						                       	  menu+='<ul class="nav nav-second-level">';
						                          for (var j=0;j<children.length;j++) {
						                          	menu+='<li><a class="J_menuItem" href="form_builder.html">'+children[j].text+'</a></li>';
						                          }   
						                       	  menu+='</ul>';
						                      }
				                              menu+='</li>';
				                            $("#side-menu").append(menu);
										}
									},
									error:function(){
										alert("菜单加载失败了！");
									}
							});	
						}
						
						/*$(function(){
							*/
					</script>
				</div>